package net.xju_13_14.entity;


import lombok.Data;

@Data
public class Bean01 {

    private Integer bid;
    private String name;

    public void init() {
        System.out.println("Bean初始化完成,调用了init()方法");
        System.out.println(this.toString());
    }
    public void destroy() {
        System.out.println("Bean即将销毁,调用了()方法");
    }

}
